package org.springboot.demo.service.impl;

import org.springboot.demo.dao.TeacherDao;
import org.springboot.demo.entity.Teacher;
import org.springboot.demo.service.TeacherDaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherSeriverImpl implements TeacherDaoService {
    @Autowired
    private TeacherDao teacherDao;
    @Override
    public List<Teacher> getAll(int offset, int limit) {
        return null;
    }

    @Override
    public Teacher getByEntity(String name) {
        return teacherDao.getByEntity(name);
    }

    @Override
    public Teacher getByEntity(Teacher teacher, int offset, int limit) {
        return null;
    }

    @Override
    public List<Teacher> getByid(int id) {
        return null;
    }

    @Override
    public List<Teacher> getByid(int id, int offset, int limit) {
        return null;
    }

    @Override
    public int Update(Teacher teacher) {
        return 0;
    }

    @Override
    public int Insert(Teacher teacher) {
        return 0;
    }

    @Override
    public int Delete(int id) {
        return 0;
    }

    @Override
    public int Delete(Teacher teacher) {
        return 0;
    }
}
